package com.example.serviceheadlines.service;


import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tangyuan.common.result.Result;
import com.tangyuan.model.HeadlinesThump;
import com.tangyuan.model.User;

import java.util.List;

/**
 * @Description: headlines_thump
 * @Author: jeecg-boot
 * @Date:   2024-03-18
 * @Version: V1.0
 */
public interface IHeadlinesThumpService extends IService<HeadlinesThump> {

    Result addCommentThumpById(Long headlinesId, Long userId);

    Result addCommentThump(Long commentId, Long userId);

    Result<Object> addNoLike(Long commentId, Long userId);

    HeadlinesThump getHeadlinesThumpOne(Long userId, Integer articleId);

    List<HeadlinesThump> getMyTrumpHeadlines(Long userId, Integer pageNum, Integer pageSize);

    void deleteHeadlines(List<Long> headlines);
}
